package vip.mtdp.customer.dal.dao;

import org.apache.ibatis.annotations.Mapper;
import vip.mtdp.customer.dal.domain.Merchant;
import vip.mtdp.customer.dal.cond.MerchantCond;
import vip.mtdp.mybatis.dal.dao.BaseMapper;


/**
 * 
 *
 * @Description 商户
 * @author wangguoqing
 * @date 2019-12-03 15:30:47
 *
 */
@Mapper
public interface MerchantMapper extends BaseMapper<Long, Merchant, MerchantCond> {

    /**
     * 根据客户id获取商户
     * @param partyId
     * @return
     */
    public Merchant getMerchantByPartyId(Long partyId);

}
